package com.raymond.pojo;

import java.io.Serializable;
/**
 * @Description: 用户
 * @Author: yc
 * @CreateDate: 2019/2/18$ 16:24$
 * @Version: 1.0
 */
public class User implements Serializable {
    private Integer id;

    private String name;

    private Integer sex;

    private Integer age;

    private String password;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }
}